package com.gsnd.gsnd22estore.mapper;

import com.gsnd.gsnd22estore.domain.EsBook;
import com.gsnd.gsnd22estore.dto.BookDto;
import io.swagger.models.auth.In;
import org.springframework.stereotype.Service;

import java.awt.print.Book;
import java.util.List;

/**
 * @Entity com.gsnd.gsnd22estore.domain.EsBook
 */
@Service
public interface EsBookMapper {
    List<BookDto> selectList();
    List<BookDto> selectAllByCategoryId(Integer categoryId);

    List<BookDto> selectAllByKeyword(String keyword);

    EsBook selectByIdEsBook(Integer Id);
}




